Fix a typo
authorMatthias Clasen <mclasen@redhat.com>
Fri, 11 Mar 2016 21:38:41 +0000 (16:38 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 11 Mar 2016 21:38:41 +0000 (16:38 -0500)
We don't want to get the padding twice.

gtk/gtktextview.c

index 6302676d0f2bdeda0896c2faf8cc785fe172657f..d92d1cfbd3ba527415edf843680f3890c2fad6e8 100644 (file)
@@ -4808,7 +4808,7 @@ text_window_set_padding (GtkTextView     *text_view,
   priv = text_view->priv;
 
   gtk_style_context_get_padding (context, gtk_style_context_get_state (context), &padding);
-  gtk_style_context_get_padding (context, gtk_style_context_get_state (context), &border);
+  gtk_style_context_get_border (context, gtk_style_context_get_state (context), &border);
   padding.left += border.left;
   padding.right += border.right;
   padding.top += border.top;